Namespace.Use("Locale.Language", function(ns) {
    //
    //  Global.
    //
    var g_Languages = [];

    //
    //  Public APIs.
    //
    var AddLanguage = Polymorphic.Create(
        [String, String],
        function(language_id, description) {
            g_Languages.push({
                "LanguageID": language_id,
                "Description": description
            });
        }
    );
    var GetLanguages = function() {
        return g_Languages;
    };

    //  Export public APIs.
    Namespace.Export(ns, "AddLanguage", AddLanguage);
    Namespace.Export(ns, "GetLanguages", GetLanguages);
});
